<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');

class permission
{

    function get()
    {
        $obj =& get_instance();

        $permission = 3;

        if ($obj->session->userdata('logged_in')) {
            $session_data = $obj->session->userdata('logged_in');
            $permission = $session_data['permission'];
        }

        return $permission;
    }


}